﻿@model List<Icoders.MarketTracker.Web.Lib.Model.PurchaseItemModel>

@{
    ViewBag.Title = "Summary";
}

<h2>Summary</h2>
<div class="display-label">Point of Purchase </div>
 <div class="display-field"><strong>@ViewBag.Popname</strong></div>
 @if (Model != null && Model.Count>0)
   {
   
<table id="data-grid">
    <tr>
        <th>
            Product
        </th>
         <th>
            Quantity
        </th>
    </tr>
  
    @foreach (var item in Model)
    {
        <tr>
            <td>
               @item.ProductName
                @*@Html.ActionLink(item.ProductName, "Sell", new { popId = item.Id, clear = true })*@
            </td>
             <td>
               @item.Quantity
              
            </td>
        </tr>
    }
</table>
   }
    <br />
    <br />
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <p>
            <input type="submit" value="Finish" />
        </p>

}


